<div id="container">
<div class="eventos form">
<h1>Editar Evento</h1>

<?php echo $this->Form->create('Evento',array('type'=>'file')); ?>
	<fieldset>
		<legend><?php echo __('Edit Evento'); ?></legend>
	<?php
		echo $this->Form->input('nomeEvento',array('size' => '34','label' => 'Nome do evento :<br>')); 
		echo $this->Form->input('dataEvento',array('size' => '1','label' => 'Data :<br>'));
		echo $this->Form->input('horarioEvento',array('size' => '1','label' => 'Horário :<br>'));
		echo $this->Form->input('localEvento',array('size' => '34','label' => 'Local :<br>'));
		echo $this->Form->input('telefoneEvento',array('size' => '11','label' => 'Telefone :<br>'));
		echo $this->Form->input('enderecoEvento',array('size' => '34','label' => 'Endereço :<br>'));
                echo $this->Form->input('cidadeEvento', array('size' => '1','label' => 'Cidade :<br>','options' => array('Joao Monlevade'=>'Joao Monlevade', 'Ipatinga '=>'Ipatinga','Itabira'=>'Itabira','Belo Horizonte'=>'Belo Horizonte')));
		echo $this->Form->input('estadoEvento', array('size' => '1','label' => 'Estado :<br>','options' => array('MG'=>'MG', 'RJ'=>'RJ','SP'=>'SP','RO'=>'RO')));
                echo $this->Form->input('tipoEvento', array('size' => '1','label' => 'Genero :<br>','options' => array('Balada'=>'Balada', 'Rodeio'=>'Rodeio','Micareta'=>'Micareta','Show'=>'Show')));
                echo $this->Form->input('estadoEvento :<br>', array('options' => array('MG', 'RJ','SP','Ro')));
                echo $this->Form->input('precoEvento',array('size' => '12','label' => 'Valor ingresso R$ :<br>'));
		echo $this->Form->input('bandasEvento',array('size' => '40','label' => 'Atrações :<br>'));
                echo $this->Form->input('aprovar', array('size' => '1','label' => 'Como : ','options' => array( '0'=>'Reprovado')));
		echo $this->Form->input('descricao',array('cols' => '118','label' => 'Descrição :<br>'));
                
                
                 
                 
                 
                $nome=$this->Session->read('Auth.User.username');
                // echo $this->Form->input('usuario_Nome',array('size' => '1','label' => 'Promoter :<br>','options' => array($nome=>$nome)));   
  
                $teste=$this->Session->read('Auth.User.email');
                //echo $this->Form->input('usuario_Email',array('size' => '1','label' => 'Email Promoter :<br>','options' => array($teste=>$teste)));
	        
                $idpromoter = $this->Session->read('Auth.User.id');
                // echo $this->Form->input('usuario_Id',array('label' => 'Id Promoter :<br>','options' => array($this->Session->read('Auth.User.id')=>$this->Session->read('Auth.User.id'))));
                
                echo $this->Form->input('filename', array('label' => 'Flyer do Evento : ','type' => 'file')    );
                
                
                echo $this->Form->input('dir', array('type' => 'hidden'));
    	
                echo $this->Form->submit('Alterar',array('div' => True,'class'=>'botao'))
                ?>
	</fieldset>       
    <table>
    <tr><td colspan="3">Informações do Promoter</td></tr>
    <tr><td width="7%">Código</td><td>Nome:</td><td>E-mail:</td></tr>
    <tr><td width="7%"><?php echo $this->Form->input('usuario_Id',array('label' => '','options' => array($this->Session->read('Auth.User.id')=>$this->Session->read('Auth.User.id'))));?></td><td><?php echo $this->Form->input('usuario_Nome',array('size' => '1','label' => '','options' => array($nome=>$nome)));?> </td><td> <?php  echo $this->Form->input('usuario_Email',array('size' => '1','label' => '','options' => array($teste=>$teste)));?></td></tr>
    </table>

</div>

</div>